<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>v-text 作用</title>
    <script src="vue.js"></script>
</head>
<body>
    <div id="app">
        <h2 v-text="message"></h2>
    </div>
        <span><ul>
                <li>v-text 设置标签的内容</li>
                <li>
                 <li>默认语法会替换全部内容,使用差值表达式{{}}可以替换全部内容</li>
                </li>
                <li>内部支持写表达式</li>
               </ul>
        </span>
    <script>
        var app = new Vue({
            el:'#app',
            data:{
                message:'this is success Info'
            }
        })
    </script>
</body>
</html>